package array;

import java.util.Random;

public class heima_test {
  public static void main(String[] args) {
    int[] arr = {1, 2, 45, 88, 35};
    Random rdm = new Random();
    System.out.println(rdm.nextInt(arr.length));
  }
}
